<?php
//判断是手机端还是PC端
$theusagt = $_SERVER["HTTP_USER_AGENT"];
if(
		(stripos($theusagt,"Android")!==false)
	  ||(stripos($theusagt,"iphone")!==false)
	  ||(stripos($theusagt,"ipod")!==false)
	  ||(stripos($theusagt,"Mobile")!==false)
	  ||(stripos($theusagt,"Windows Phone")!==false))
	  {
		   echo '<script language="javascript">
    				window.location= "http://www.weweb.net.cn/src/works/Ncqihang/Public/mob/index-mob.html";
			  </script>';
	  }
	  else
	  {
		   echo '<script language="javascript">
    				window.location= "http://www.weweb.net.cn/src/works/Ncqihang/Public/index.html";
			  </script>';
	  }
?>


